home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / CIT.v4 / citra / CITInput.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  1.0 KB  |  48 lines

  1. //
  2. //                    CITInput include
  3. //
  4. //                          StormC
  5. //
  6. //                     version 2002.02.17
  7. //
  8.  
  9. #ifndef CIT_INPUT_H
  10. #define CIT_INPUT_H TRUE
  11.  
  12. #ifndef CIT_GADGET_H
  13. #include "CITGadget.h"
  14. #endif
  15.  
  16. class CITInput:public CITGadget
  17. {
  18.   public:
  19.     CITInput();
  20.     ~CITInput();
  21.  
  22.     void MinVisible(WORD min);
  23.     void MaxChars(WORD max);
  24.     void BufferPos(WORD pos);
  25.     void DispPos(WORD pos);
  26.     void Pens(ULONG pen);
  27.     void ActivePens(ULONG pen);
  28.     void EditModes(ULONG mode);
  29.     void ReplaceMode(BOOL b = TRUE);
  30.     void FixedFieldMode(BOOL b = TRUE);
  31.     void NoFilterMode(BOOL b = TRUE);
  32.     void Justification(UWORD pos);
  33.  
  34.     void EditHook(ULONG (*p)(struct SGWork *sgw,ULONG *msg,ULONG myData),ULONG userData)
  35.             {CITGadget::CallbackHook(CALLBACKHOOK(p),userData);}
  36.  
  37.   protected:
  38.     virtual Object* NewObjectA(TagItem* tags);
  39.     virtual void    hookSetup(ULONG userData);
  40.  
  41.   private:
  42.     void  setTag(int index,ULONG attr,ULONG val);
  43.   
  44.     TagItem* inputTag;
  45. };
  46.  
  47. #endif
  48.